package com.sf.osms.dep.biz.impl;

import java.util.Date;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.sf.osms.dep.biz.IHandoverBiz;
import com.sf.osms.dep.dao.IAgentDao;
import com.sf.osms.dep.dao.IHandoverDao;
import com.sf.osms.dep.domain.Handover;

@Service
@Transactional
public class HandoverBizImpl implements
		IHandoverBiz {

	@Autowired
	private IHandoverDao handoverDao;
	
	@Autowired
	private IAgentDao agentDao;

	

	@Override
	public List<Handover> queryWithinTime(Date startDate) {
		return handoverDao.queryWithinTime(startDate);
	}



	@Override
	public void saveOrUpdate(Handover handover) {
		this.handoverDao.saveOrUpdate(handover);
	}



}
